package com.gun.management.module.task.controller.admin.taskRewardLog.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 任务奖励日志信息新增/修改 Request VO")
@Data
public class TaskRewardLogSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "任务id", example = "25")
    private Long taskId;

    @Schema(description = "会员用户id", example = "286")
    private Long userId;

    /**
     * 子会员用户id
     */
    @Schema(description = "子会员用户id", example = "2801")
    private Long subUserId;

    /**
     * 用户上传图片url(任务截图)
     */
    @Schema(description = "用户上传图片url(任务截图)", example = "http://****.com/images/test.png")
     private String taskScreenshot;

    @Schema(description = "奖励积分", example = "10")
    private Integer rewardScore;

    @Schema(description = "奖励时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-10-29")
    @NotNull(message = "奖励时间不能为空")
    private LocalDateTime rewardTime;

    @Schema(description = "已做任务总次数", example = "100")
    private Integer totalTimes;

    @Schema(description = "每人每天已做任务次数", example = "2")
    private Integer dayTotalTimes;



}